IModel.IsRelatedTo method ¶
Namespace: NextDesign.Core
Description¶
Checks if this instance has a reference association with the given model. Returns True if there is an association.
argument¶
| Name | Type | Description |
|---|---|---|
| model | IModel | Target model null cannot be specified. |
Return value¶
- bool
Exception¶
| Name | Exception Class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | When null is specified for model |